<h1>Administraci&oacute;n de Almacenes</h1>
<table>
  <thead>
    <th>Nombre</th>
    <th>Ubicaci&oacute;n</th>
  </thead>
  <tbody>
    <% for almacen in @almacenes %>                    
      <tr>
        <td><%= almacen.nombre %></td>
        <td><%= almacen.ubicacion %></td>
        <td><%= link_to "Mostrar", :action => "show", :id => almacen %></td>
        <td><%= link_to "Editar", :action => "edit", :id => almacen %></td>
      </tr>
    <% end %>    
  </tbody>
</table>

<p><%= will_paginate @almacenes %></p>

<p><%= link_to "Nuevo Almacen", :action => "new" %></p>